package com.kaxicore.kaxi.service;
import java.util.List;
import com.kaxicore.kaxi.entity.Staff;
import com.kaxicore.kaxi.utils.PageRequest;
import com.kaxicore.kaxi.utils.PageResult;

public interface StaffService {
    public PageResult getAllStaffs(String name, PageRequest pageRequest) throws Exception;

    public Staff getStaffById(Integer id) throws Exception;

    public void addStaff(Staff staff) throws Exception;

    public void deleteStaffById(Integer id) throws Exception;

    public void updateStaff(Staff staff) throws Exception;
}
